package com.hnkywl.sts.util;

public class StringFormat {
	public static String format(String str,String... args) {
		for (int i = 0 ; i < args.length ; i ++) {
			str = str.replaceAll("\\{" + i + "\\}", args[i]);
		}
		
		return str;
	}
}
